We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC (More rooms available on our Discord server)

Author Topic: Set card game (with AI)  (Read 1532 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: 231
  • Post Rating Ratio: +3/-0
  • I am a Christian
    • caleb_hansberry
    • JinnaiTamano
    • @https://soundcloud.com/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!
  • Calculators owned: TI-82, TI-83, TI-83+SE, TI-84+SE, TI-85, TI-89, TI-99/4A
  • Consoles, mobile devices and vintage computers owned: HP Portable Plus 110, Toshiba T3100, Toshiba T5200, GRiD 1660, TI-99/4A, Apple IIgs, 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 Calc.news BroniesQC BosaikNet Velocity Games