Learn how to create the turn-based combat system found in games like Pok mon, Final Fantasy, and Undertale. Raspberry Pi’s Rik Cross shows you how.
With their emphasis on trading and collecting as well as turn-based combat, the Pok mon games helped bring RPG concepts to the masses.
In the late 1970s, high school student Richard Garriott made a little game called Akalabeth. Programmed in Applesoft BASIC, it helped set the template for the role-playing genre on computers. Even today, turn-based combat is still a common sight in games, with this autumn’s Pok mon Sword and Shield revolving around a battle system which sees opponents take turns to plan and execute attacks or defensive moves.
The turn-based combat system in this article is text-only, and works by allowing players to choose to defend against or attack their opponent in turn. The battle ends when only one player has some health remaining.
Each Player taking … // Read more: original article.

Previous post Canonical Releases Updated Ubuntu Images for All Supported Raspberry Pi Boards
Next post 5G-based system for autonomous ships