Skip to content

boberle/hexagame

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

hexagame -- playing with assembly and hexadecimal digits

This is an educational project I made when I was studying the assembly language. It's a game: Enter the hexadecimal digit matching the four-digit binary pattern randomly displayed by the program, or vice-versa. Give no answer to quit.

The game is designed to learn binary patterns and hexadecimal digits.

Here a sample session:

[bruno]$ ./hexagame
What is the binary pattern for [6]? 0110
You're ok.
What is the hexa code for [1011]? B
You're ok.
What is the hexa code for [0001]? 1
You're ok.
What is the hexa code for [0111]? F
You're wrong. Try again: 7
You're ok.
What is the binary pattern for [E]? 1110
You're ok.
What is the hexa code for [0011]? 
[bruno]$ 

Getting Started

Execute the hexagame file:

./hexagame

You may want to compile from source (in assembly), assuming you have make:

make
make clean

Note that the last time I have done this was with a Pentium...

Authors

Bruno Oberle. Please contact me at boberle.com.

See my other projects at boberle.com!

License

Copyright 2010 Bruno Oberle

This program comes with ABSOLUTELY NO WARRANTY.

About

playing with assembly and hexadecimal digits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published