Skip to content

Play the card game Set on the commandline

Notifications You must be signed in to change notification settings

bancron/set-game-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

set-game-cli

Play the card game Set on the CLI.

Usage

Run with

go run set.go

Gameplay

gameplay

Interface

This is a commandline implementation of Set. Set has four properties: color, shape, number, and shading.

This needs to be adapted for the commandline. On the commandline it is simple to represent color directly, number by repeating a symbol 1-3 times, and shape by A, B, or C.

The fourth property is more complicated. If there were only two values, it would be easy to implement with lower and upper case. Since we require a third value, I have chosen to use lower case, upper case, and "super case", where super case is the unicode codepoint for upper-case blackboard bold.

About

Play the card game Set on the commandline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages