Coder Social home page Coder Social logo

cowbulls-activity's Introduction

CowBulls Activity

Sugar Activity of the classic "CowBulls" game, with a slight twist ;)

About:

  • This is a sugar activity
  • After each round, your score increases by the number of lives remaining + 1

Legend:

  • Bull : corresponding digit is at its correct place.
  • Cow : corresponding digit is in the number but not at its correct place
  • Cross: corresponding digit is not present in th actual number

Known Bugs:

  • Numpad keys 3, 5 and 0 aren't detected.
    Log: Key KP_Next unrecognised

Credits:

  • Icons borrowed from multiple authors via FlatIcon

Screenshots:

  • Round in progress (Level: Easy) Round in progress
  • Round won (Level: Easy) Round won

cowbulls-activity's People

Contributors

rhl-bthr avatar juip avatar ayushnawal avatar quozl avatar

Stargazers

Iqra Muhammad avatar Arnav Sailesh avatar Tio Irawan avatar Sourav Singh avatar

Watchers

James Cloos avatar  avatar  avatar

cowbulls-activity's Issues

v2 git tag missing

CowBulls-2 has arrived on activities.sugarlabs.org but there is no v2 git tag here; perhaps commits are yet to be pushed?

Numpad keys 3 and 5 aren't detected.

Steps to reproduce:

  • Open the activity
  • Enter 3 using the numpad(NumLock on)

Expected Result:

  • 3 should come up in the input side

Observer Result:
No change

Log:
Key KP_Next unrecognised
Key KP_Begin unrecognised
come up for Numpad 3 and 5 keystrokes

Bug: Keyboard strokes not detected by pygame event loop

Steps to reproduce:

  • Open the activity
  • Type any number

Observed Result
No change

Expected Result:
Pressing a number should have the same effect as clicking the button of that number

Notes:

  • Logs confirmed that the keystrokes are not even detected by the pygame event loop
  • Logs didn't show any other errors
  • The game was accepting keystrokes before its port to a sugar activity

Feature: Set color scheme according to user's color

The color scheme of the game(activity) should have some resemblence to the sugar user's color.

Possible areas:

  • entries.png can be replaced with a line of user's color
  • highlight.png can also be changed to first color
  • Background can be the second color of the user.

Share activity between two users

Two users can share the activity in any of the following manner:

  • Both can work on the same riddle
  • User A gives a number; User B has to determine the number

Create an icon for activity and toolbar

Issues:

  • Currently, the icon that is being used if of the moon activity. An activity icon needs to be designed
  • The restart icon should be more apparent about its functionality

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.