Skip to content

A creative game by combination of two games named Pong and Conway's Game Of Life. First project with pygame I'll be using it in future projects to implement AI playing games.

Notifications You must be signed in to change notification settings

MahanNoosh/LifePong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

LifePong

A creative game by combination of two games named Pong and Conway's Game Of Life. Game of Pong/ Pong of Life/ Life as a Pong? Pong in real life? Help me with the name HAHAHA

Rules:

at the beginning of each round players have 40 cells to place/remove (make alive/kill) on their side of board using mouse (you can also drag for quick input). These and their future generations will work as paddles of original pong game. At each step in time, the following transitions occur:

  • Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  • Any live cell with two or three live neighbours lives on to the next generation.
  • Any live cell with more than three live neighbours dies, as if by overpopulation.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

After placing cells you can press space to start the game. It runs at 30 fps which means 30 generations happens each second. It also saves each rounds input using pickle and .pkl file. Have fun I guess :D

About

A creative game by combination of two games named Pong and Conway's Game Of Life. First project with pygame I'll be using it in future projects to implement AI playing games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages