Dear visitors and members, with the staff having moved on to other life interests and as a result of changes in people's internet usage habits, the CodeWalrus community have migrated almost entirely to Discord, IRC and WalrusIRC and is now essentially a place where to hang out, chat about gaming, programming, music, anime, and chill. As a result, even though the CW forums will remain open for posting, for faster TI, Casio or HP calculator help and news we recommend using the bilingual TI-Planet forums instead.

We encourage everyone to join our Discord server now.

* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Set card game (with AI)  (Read 199 times)

0 Members and 1 Guest are viewing this topic.

Offline ibid

  • New User
  • Join Date: Jan 2018
  • Location:
  • Posts: 1
  • Post Rating Ratio: +1/-0
Set card game (with AI)
« on: January 08, 2018, 06:42:47 pm »
I ported the card game Set to the 83/84 calculators using axe. I used Runner112's GreyLib library to achieve near perfect greyscale.

You can download it here.


Like the original game, each card has four properties (number, color, shape, pattern). A "set" is a group of three cards in which every one of the properties is either the same or different. (but not two cards alike with only the third different).

Twelve cards (or more if needed) are laid out and you have to try finding a set. When you find one, you press [Graph] to call it, and then select the three cards. You get a point and those cards are replaced. Calling "set" incorrectly causes you to lose a point. (Though you can disable this penalty in the settings.)

If you wait to long then the calculator will "find" a set first and get a point. This time is defaulted to about 20 seconds (on the 15mHz calcs at least), but you can adjust it in the settings for an easier/harder game.


Arrow keys - move cursor around
Graph - Call a set
Graph/2nd/Enter - Select cards (after calling a set)
2nd/Enter - Deal new cards (after the calculator calls a set)
Trace - Enter/Exit the settings menu
Clear - Exit
« Last Edit: January 23, 2018, 08:10:23 am by ibid »

Offline Caleb Hansberry

  • CodeWalrus Staff
  • Full User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 195
  • Post Rating Ratio: +3/-0
  • I am a Christian
    • caleb_hansberry
    • Skylites Computers
  • Gender: Male
Re: Set card game (with AI)
« Reply #1 on: January 12, 2018, 05:49:49 am »
It looks really cool, especially the grayscale!
  • Consoles, mobile devices and vintage computers owned: HP Portable Plus 110, Toshiba T3100, GRiD 1660, TI-99/4A, and much more than I can list here


You can also use the following HTML or bulletin board code to share it on your page or forum signature!

Also do not forget to check our affiliates below.
Planet Casio TI-Planet BroniesQC BosaikNet Velocity Games