2014-11-24 18:04:45 +00:00
### Desciprtion
2014-11-24 18:05:39 +00:00
An Apple //e native client for < http: / / asciiexpress . net / gameserver / > . Fully describing this will take too long--just watch the video: < http: / / asciiexpress . net / gameserver / gameserverclient . mp4 > .
2014-11-24 18:04:45 +00:00
### Download
```
git clone https://github.com/datajerk/gameserverclient.git
```
*or*
Download < https: / / github . com / datajerk / gameserverclient / archive / master . zip > and extract.
### Build Notes
#### Prerequisites
- `cl65` (< http: // cc65 . github . io / cc65 /> )
- `c2d` (< https: // github . com / datajerk / c2d > )
2017-06-01 01:51:50 +00:00
- `libqrencode` (< https: // github . com / fukuchi / libqrencode > )
2017-06-01 01:53:49 +00:00
- `perl`
- `gcc`
- `figlet`
2014-11-24 18:04:45 +00:00
2017-06-01 01:51:50 +00:00
#### Build
2014-11-24 18:04:45 +00:00
```
2017-06-01 01:51:50 +00:00
make
2014-11-24 18:04:45 +00:00
```
2017-06-01 19:45:22 +00:00
### Test
#### Prerequisites
- MacOS
2020-03-16 16:02:24 +00:00
- Virtual ][ 9.2
2017-06-03 21:21:45 +00:00
- `curl`
2020-03-16 16:02:24 +00:00
- `zbarimg` (Google for `zbar-0.10.tar.bz2` )
2017-06-03 20:34:37 +00:00
- `tifftopnm` and `pnmtojpeg` from Netpbm (< http: // netpbm . sourceforge . net /> )
- `sox` and `soxi` from SoX (< http: // sox . sourceforge . net /> )
2017-06-01 19:45:22 +00:00
```
make test
2017-06-03 20:36:12 +00:00
```
#### Ad Hoc Testing
2020-03-16 16:02:24 +00:00
2017-06-03 20:36:12 +00:00
```
2017-06-03 20:34:37 +00:00
./quick.sh [search string or "random"]
./demo.sh [search string or "random"]
2017-06-01 19:45:22 +00:00
```
2017-06-03 20:34:37 +00:00
2017-06-03 21:25:50 +00:00
Example Ad Hoc Session:
2020-03-16 16:02:24 +00:00
2017-06-03 21:24:38 +00:00
```
$ ./demo.sh alien
1 Alien Ambush
2 Alien Downpour
3 Alien Game
4 Alien Munchies
5 Alien Typhoon
pick one: 2
Alien Downpour...LAUNCHED
```
2017-06-03 21:25:50 +00:00
Ad hoc example session video output: < http: / / asciiexpress . net / files / gameserverclienttest . mp4 >
2017-06-03 21:24:38 +00:00
2017-06-03 20:34:37 +00:00
### Appendix
2020-03-16 16:02:24 +00:00
#### Zbar MacOS Build
2017-06-03 20:34:37 +00:00
```
2020-03-16 16:02:24 +00:00
sudo port install imagemagick qrencode
tar zxvf zbar-0.10.tar.bz2
cd zbar-0.10
./configure --disable-video --without-python --without-gtk --without-qt --with-libiconv-prefix=/opt/local
make -j
sudo make install
2017-06-03 20:34:37 +00:00
```