I noticed that despite being on the market for 12 years, there hasn’t been a single port of Reversi (aka Othello) for the HP Prime (at least none publicly available), so I decided to fill that gap. I really wanted the game to avoid looking too basic, so I added some visual effects and small animations.

The game is still in development, but you can already see the title screen and the graphical interface of the main board.



In the video, you can see the disc flip animations, for which I rendered the frames using Blender to achieve a more realistic effect:



Now it's time to write the game logic along with score calculation (with smoothly updating counters), and then I'll probably create a µAI algorithm as well.
komame wrote:
I noticed that despite being on the market for 12 years, there hasn’t been a single port of Reversi (aka Othello) for the HP Prime (at least none publicly available), so I decided to fill that gap. I really wanted the game to avoid looking too basic, so I added some visual effects and small animations.

The game is still in development, but you can already see the title screen and the graphical interface of the main board.



Now it's time to write the game logic along with score calculation (with smoothly updating counters), and then I'll probably create a µAI algorithm as well.


That is amazing, looking really good so far, and it seems very responsive Smile.
matalog wrote:
That is amazing, looking really good so far, and it seems very responsive Smile.

Thanks! Very Happy

I think the HP Prime is a highly underrated device. Even without access to low-level programming, you can achieve a lot — you just need to know some tricks.

Currently, Reversi is written entirely using PPL. However, if the manufacturer had paid a bit more attention to Python — which runs 10 to 40 times faster on the HP Prime — the results could have been much better, and many limitations would no longer exist.

I hope these changes will happen someday.

In the meantime, I've started implementing the game logic, and it's going quite well...
The next stage of implementation is complete.

Changes introduced:
  • The board has been slightly enlarged.
  • Basic game logic has been added (for now, without detecting the lack of possible moves or the end of the game).
  • Disk flip animation frames have been re-rendered to take advantage of the extra space.
  • Score counting has been added.
A screen recording from the emulator is below (it runs much smoother on the real hardware).

The final version of Reversi Prime, including the ability to play against the AI player, is ready for download! Very Happy

https://www.cemetech.net/downloads/files/2612/x3349

Game features:
  • Possibility to play against two players or between a player and AI.


  • When playing against AI, it is possible to choose the color of the discs the player will use and select which player starts the game.

  • If a player has no valid moves, they have to pass their turn (a cross appears on the player indicator, informing that the player loses their turn).


  • The game ends when all board spaces are filled or when neither player has a valid move. The player with more discs wins.

Have fun!
Update - v1.10 (2025-03-14):
  • The program has been converted into an app, now launched from the Application Library.
  • The code has been reorganized and adjusted to ensure compatibility with firmware version 14591 (and possibly older versions). This should allow the game to run on systems emulating the HP Prime on Android, and likely on iOS and macOS as well.
  • Minor performance optimizations.
http://ceme.tech/DL2612
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement