Skip to content
rodrigorgsPublic

About

A card game to teach OOP

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Dominoops

A dominoes-based card game to teach concepts used in Object-Oriented Programming (OOP), as implemented by statically-typed languages like Java. Each card represents an object from a specific class, which can be associated to other objects through typed attributes. Concepts explored in the game include association, inheritance, interface implementation, and type compatibility.

Creating the images for the game

The images used in the deck are located in deck/ for your convenience. Those interested in recreating the images or modifying the deck should read below.

The card deck is defined by the data in base-classes.csv and base-objects.csv, by the design in card.svg, and by the icons contained in images.svg. Run the following scripts (in this order) to build the deck:

  1. render-images.py: creates a PNG for each icon in images.svg
  2. render-cards.py: creates a PNG for each card in base-objects.csv, using the layout from card.svg
  3. build-deck.py: combines the PNG files for all cards in a single PNG file; also creates the back of the cards and the arrow card. The files are create in the deck/ folder.

Importing into Tabletop Simulator

Rules

The rules are available at this draft specification (in Portuguese).

About

A card game to teach OOP

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages