21 game: Difference between revisions

Line 2,725:
 
=={{Header|FutureBasic}}==
A fairly simple game, but this FutureBasic code builds a full, stand-alone, interactive app for it in about 100 LOC. It includes three levels of play, selectable via a popup menu:
* Min level has the computer play at random, choosing the optimal play only 1/3 of the time. Good for learning, or for kids.
* Mid level gives the computer its optimal play 2/3 of the time, making for more varied and interesting play.
68

edits