AI Reversi: Progress

November 8, 2010 at 19:54 Leave a comment

Wow, it’s been awhile since I’ve posted anything.

I’ll try to summarize what has happened so far.

So originally I planned on creating AI Reversi entirely in BASIC. And that’s what I did. I completed what I set out to do. However, the AI was very slow. Even after using every trick that I know of, I couldn’t get the AI to run at an acceptable speed. And then Axe arrived.

Axe is a new programming language, invented by another calc fan. The language is similar to BASIC, but it runs at a speed comparable to pure assembly. Well, technically it IS assembly. The only difference is that pure assembly is hand coded, while Axe is compiled to assembly. Consequently, programs written in Axe behave like pure asm programs, albeit slightly slower and larger.

Not surprisingly, I decided to port AI Reversii to Axe. The resulting program is way better in terms of speed, graphics… everything actually, well except program size. So now I have an acceptable version of AI Reversii. The AI still needs work, but other than that, the rest of the program is complete (unless I decide to add a title screen :P ).

This is a screenshot of the current AI Reversi. I have the AI play against itself to demonstrate the speed of the AI. The flickering of the grayscale is a result of the emulator. It it flicker-less on an actual calc.

Advertisement

Entry filed under: Projects. Tags: .

AI Reversi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed



Follow

Get every new post delivered to your Inbox.