Skip to content

mayakarabula/uxn-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uxn-chess

introduction

I have started this project as a fun way to try out chibicc - "a small c compiler for uxn".

Therefore the base code is written in C with mappings to uxn provided by chibicc such as set_screen_addr.

how to run

chibicc

To run this app you need chibicc, from there you can run

./run.sh PATH_TO_YOUR_CHESS_UXN/chess.c

uxnemu

Alternatively you can just run the rom provided in this repository with uxn emulator (I have tried it with uxnemu) or compile the TAL source code with uxnasm

Information on how to run uxn programs can be found on 100 rabbits page.

In a browser

If you don't want to deal with uxnemu or chibicc locally you can go to https://metasyn.srht.site/learn-uxn/ and use io > import rom and select rom file from this repository

what is implemented

  • board drawn
  • pieces drawn
  • keep order - first white pieces, then black, and so on
  • standard moves - IN PROGRESS (pawns, knights ready)
  • special moves - en passant, pawn promotion, castles
  • check
  • check mate
  • game restart

screenshots

uxn-chess preview

About

a simple chess implementation usin chibicc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages