Skip to content

ian-ani/ContrastWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lang en Lang es

Contrast Words

Command-line game made for the Jam for All BASIC Dialects (#7).
Developed using FreeBASIC and C.

About the game

A random word will appear, you must write at least one antonym. Try to keep your streak!

Table of contents

Development and resources

How to play

  1. Download the game from itch.io.
  2. Double-click or run the game from the command line or PowerShell.
./contrast_words

Example

The word is:  ANALYSIS
----------------------
Tries left:    3
Write an antonym: synthesis

Requirements

  • Windows x64

Tested on

  • Windows 10, worked on (2/2) computers.
  • Windows 11, worked on (1/2) computers.
  • Windows XP (32-bit) - not supported.

Works on both cmd and PowerShell.

Known issues

Some Windows 11 systems may display corrupted text such as "Choose an option: STREAK===ds!" or have issues printing ASCII images. I'm investigating it.

Additional notes

When compiling, you will need the cJSON files (see Development and resources). Also, the project structure is a bit rough, so every time you compile the C code, you will need to move any .a file into the Basic folder. The same applies to the resulting .exe and ASCII files.

C compilation:

# Move to C directory
cd src/c

# Create .o file
gcc -c antonyms_utils.c -o antonyms_utils.o
gcc -c ../../libs/cJSON.c -o ../../libs/cJSON.o

# Create .a file
ar r libantonyms_utils.a antonyms_utils.o ../../libs/cJSON.o

Basic compilation:

# Move to Basic directory
cd src/basic

# Create .exe
fbc64 contrast_words.bas

About

Jam for All BASIC Dialects (#7).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors