vocelia/guessgame.asm
A "guess the number" CLI game targeted for Linux x86-64 (without glibc) written in NASM assembly by a bored hobbyist
- Assembly 92.2%
- C 6.6%
- Shell 1.2%
| src | Added main whileloop and fixed inttostr | |
| compile | Added gen_rand label and removing libc | |
| LICENSE | Initial commit | |
| README.md | Added gen_rand label and removing libc | |
| reference.c | Update source code | |
guessgame.asm
A "guess the number" CLI game targeted for Linux x86-64 (without libc) written in NASM assembly by a bored hobbyist
The ideal reference is defined in reference.c
The goal of this project is to get as close as possible to the reference
My boss is strict and after long hours of pointless lecturing, I was told to refrain from using libc
Nevermind, I will cheat a little bit and use libc for rand() because I don't want to implement an RNG algorithm myself
Looks like I will not be using libc for rand() afterall since I found Intel's rdrand instruction