2022-02-27 10:21:54 -05:00
|
|
|
# playergame
|
2022-03-14 07:53:54 -04:00
|
|
|
PlayerGame is a very garbo game I made that is designed to run on any os and any platform.
|
|
|
|
PlayerGame is written in c99 and does indeed compile with tcc and other wack compilers.
|
|
|
|
### Tested on and confirmed working
|
|
|
|
- Arch Linux on x86
|
|
|
|
- Mac OS on x86 (cringe)
|
|
|
|
- Termux on ARM
|
2022-02-27 10:21:54 -05:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
# Requirements
|
|
|
|
### Minimum:
|
|
|
|
- uhh idk a brick????
|
|
|
|
- 80x40 charactor display
|
|
|
|
- puts printf clock.h (i plan on supporting rdtsc)
|
|
|
|
- 9k of ram + os
|
|
|
|
|
|
|
|
### Recommended
|
|
|
|
- 100 mips processor
|
|
|
|
- 80x40 charactor display
|
|
|
|
- puts printf clock.h (i plan on supporting rdtsc)
|
|
|
|
- 9k of ram + os
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
# Building
|
|
|
|
1. git clone it
|
|
|
|
2. install meson (idk how pip install it i guess)
|
|
|
|
3. cd into the cloned folder
|
|
|
|
4. build it...
|
|
|
|
|
|
|
|
### Linux and friends
|
|
|
|
`mkdir builddir`
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
`cd builddir`
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
`meson setup builddir`
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
`meson compile`
|
|
|
|
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
### Suckless MFs
|
|
|
|
`cd src`
|
2022-03-14 07:57:49 -04:00
|
|
|
|
2022-03-14 07:53:54 -04:00
|
|
|
`tcc main.c -lcurses`
|
|
|
|
|
|
|
|
# Screenshot
|
|
|
|
|
|
|
|
Y 2&
|
|
|
|
2 2&
|
|
|
|
3 & &&&&&&&&&&&&&&&& 2&
|
|
|
|
4 & & & 2&
|
|
|
|
5 & & & 2&
|
|
|
|
6 && & 2&
|
|
|
|
7 & & 2&
|
|
|
|
8 & & 2&
|
|
|
|
9 & & 2&
|
|
|
|
a7&*& & 2&
|
|
|
|
b7&*& & 2&
|
|
|
|
c7&*& & 2&
|
|
|
|
d7&*& & 2&
|
|
|
|
e7&*& 2&
|
|
|
|
f7&*& &\ 2&
|
|
|
|
g7&*& 2&
|
|
|
|
h7&*& & 2&
|
|
|
|
i7&*& & # 2&
|
|
|
|
j7&*& & 2&
|
|
|
|
k & & 2&
|
|
|
|
l & & 2&
|
|
|
|
m & & 2&
|
|
|
|
n &&&&&&&&&&&&&&&&&&&& 2&
|
|
|
|
o 2&
|
|
|
|
p 2&
|
|
|
|
q 2&
|
|
|
|
r 2&
|
|
|
|
s 2&
|
|
|
|
t 2&
|
|
|
|
u 2&
|
|
|
|
v 2&
|
|
|
|
w 2&
|
|
|
|
x 2&
|
|
|
|
y 2&
|
|
|
|
z 2&
|
|
|
|
A 2&
|
|
|
|
B 2&
|
|
|
|
C 2&
|
|
|
|
D 2&
|
|
|
|
E 2&
|
|
|
|
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
|