Skip to content

first attempt at a simple simulation of a mass of rock/paper/scissors entities in Scala (2022)

Notifications You must be signed in to change notification settings

Akinevz/rps-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors simulator

This project strives to develop an understanding of the new technologies added in scala 3 as a tech demo.

Here I will program a simulation, where three groups of entities are spawned:

  • scissors
  • rocks
  • papers

The rules are:

  • scissors convert papers to scissors
  • papers convert rocks to papers
  • rocks convert scissors to rocks

When there remains only one type of entity on the board the simulation is considered finished.

preview

image

next steps

refactor code

About

first attempt at a simple simulation of a mass of rock/paper/scissors entities in Scala (2022)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages