Skip to content

Ehevi/Pat-the-Cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pat-the-Cat

This is a simple game written with the Scala programming language and Akka Actors.

Running an app

git clone https://github.com/Ehevi/Pat-the-Cat Pat-the-Cat
cd Pat-the-Cat
sbt run
sbt test

Game description

Once the app starts, you'll see five kitties of different colors.

before-start

Click on the Start! button to start the game. From this moment the timer counts down from 60 seconds. Your every next click on any of the kitties will add up to your score depending on the current state of the clicked kitty:

State Active frame(s) Score
running bieg1 bieg2 + 1
eye gazing pobudka zatrzymanie + 10
scratching drapanie1 drapanie2 - 1
yawning ziewanie + 10
sleeping spanie1 spanie2 - 2

The more points you collect from the kitty, the faster it changes its state. The speed of each kitty is independent from another ones, so your kitties will most likely end up having diffferent speed.

The game ends when the timer reaches zero or when you click on the Stop! button.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages