hackathon-team-ballmer-peak

whono

Whono is a 2+ player card game where you draw and place cards continually, with the goal of being the first player to put all their cards down and thus have an empty hand.


about

In Whono, there are several types of cards. These are number cards, with a number from 1 to 9.

Number cards can only be placed when the previous card place matches either their colour or their number.

The goal of Whono is to place all the cards in your hand as fast as possible.


building

Create an artifact for the JAR and build it.

If using Intellij:

  • Go to File -> Project Structure -> Artifacts
  • Click the + sign, then JAR, and then choose "From modules with dependencies"
  • Click the Folder icon in the Main Class field and choose the class "Main"
  • Apply changes and click okay
  • Go to Build -> Build Artifacts
  • Click the jar hackathon-team-ballmer-peak.jar and select build.
  • The jar file will now be in your artifacts folder

for unix systems

make build will create a jar file which can be ran with the make run command


running

the Whono jar file can be downloaded from releases and ran as along-side it's Whono asset folder

To run and play Whono with an IntelliJ build jar, open and run the file "hackathon-team-ballmer-peak.jar". It can be found in the folder structure at out -> artifacts - > hackathon-team-ballmer-peak_jar -> hackathon-team-ballmer-peak.jar

If that does not work - try the file "whono.jar".

If the JAR does not run as expected, run it in the IDE.


how to play

When it is your turn, you can click a card (at the bottom of the screen) to place it. If the card is eligible to be placed, it will be added to the pile. The pile is the stack with the cards facing upwards.

If you run out of cards that can be placed, click the deck to add another card to your hand. The deck is the stack with the cards facing downwards.

You win when you place all the cards in your hand on to the pile. You lose if someone does this before you or you reach the maximum hand size (15).