all repos — tictactoe @ 7b771aace72d9c78339e925f047af923e1ede7d3

tic-tac-toe game for uxn

remove makefile and update readme
la-ninpre aaoth@aaoth.xyz
Mon, 28 Aug 2023 13:24:57 +0300
commit

7b771aace72d9c78339e925f047af923e1ede7d3

parent

3190ad25cb167f8289b7d10957a37283cd1efc2a

2 files changed, 9 insertions(+), 40 deletions(-)

jump to
D Makefile

@@ -1,31 +0,0 @@

-SRC = tictactoe.tal - -PROG = $(SRC:.tal=.rom) - -CLEANFILES = $(PROG) - -UXNASM = uxncli ~/roms/asma.rom -# UXNASM = uxncli ~/roms/drifblim.rom -# UXNASM = uxnasm - -UXNEMU = uxnemu -# UXNEMU = uxn11 - -all: $(PROG) - -.tal.rom: - $(UXNASM) $< $@ - -$(PROG): $(SRC) - -run: $(PROG) - $(UXNEMU) $< - -lint: $(SRC) - uxncli ~/roms/uxnlin.rom $< - -clean: - rm -f $(CLEANFILES) - -.PHONY: all run clean -.SUFFIXES: .tal .rom
M README.mdREADME.md

@@ -2,18 +2,18 @@ # tictactoe.tal

simple little game that took me far longer than i thought it would. -## installation +- linted with [uxnlin](https://git.sr.ht/~rabbits/uxnlin) +- balanced with [uxnbal](https://git.sr.ht/~rabbits/uxnbal) +- formatted with [uxnfor](https://git.sr.ht/~rabbits/uxnfor) -there is a makefile for convenience (you need make, uxncli, uxnemu and -drifblim.rom). but you can just assemble `tictactoe.tal` in any way you want. - -this command: +## installation -``` -$ make run -``` +you need uxn assembler and emulator. for example, check out [uxn-sdl][1] +(which also contains uxnasm, the assembler) and [drifblim][2] +(the self-hosted assembler). -will assemble the game using `~/roms/drifblim.rom` and will run it in uxnemu. +[1]:https://git.sr.ht/~rabbits/uxn +[2]:https://git.sr.ht/~rabbits/drifblim ## controls