Some simple games on Processing:)
Rock, Paper and Scissors
Rules of play: The players usually count aloud to 3, or speak the name of the game (e.g. “Rock Paper Scissors!” or “Ro Sham Bo!”), each time either raising one hand in a fist and swinging it down on the count or holding it behind. On the fourth count (saying, “Shoot!” or “Sho!”), the players change their hands into one of three gestures, which they then “throw” by extending it towards their opponent. Variations include a version where players use only three counts before throwing their gesture (thus throwing on the count of “Scissors!” or “Bo!”), or a version where they shake their hands three times before “throwing.”
Winning conditions: player who beats wins
Story: Asian and American stories are quiet different, you can see here
https://sanachinaliyeva.github.io/rockscissorspaper/
Tic-tac-toe
Rules of play: 1. The game is played on a grid that’s 3 squares by 3 squares.
-
You are X, your friend (or the computer in this case) is O. Players take turns putting their marks in empty squares.
-
The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the winner.
-
When all 9 squares are full, the game is over. If no player has 3 marks in a row, the game ends in a tie.
Winning conditions: winner is a player whose draw takes 3 squares
https://sanachinaliyeva.github.io/tictactoe
And also here is an animation