Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LUDO

Ludo game for 8 bit computers.

Written in 1992,2020, 2021 by Xander Mol https://github.com/xahmol/ludo https://www.idreamtin8bits.com/

Originally written in 1992 in Commodore BASIC 7.0 for the Commodore 128 Rewritten for Oric Atmos in BASIC in 2020 Rewritten for Oric Atmos in C using CC65 in 2021 Rewritten for TI-99/4a in C using TMS9900-GCC in 2021 Rewritten for C128 in C using CC65 in 2021

Latest builds:

Commodore 128:

Oric Atmos:

TI-99/4a:

Original 1992 Commodore 128 version (in Dutch):

Instructions for playing:

The game is menu driven. For menu navigation, use the cursor keys (up, down, left, right) and press ENTER to select. Active choice has a white background in the main menu bar, yellow in the pull down menus. If the main menu bar shows no white hightlighted options, no menu choices are possible, the computer is busy executing game turn actions. Popups wait for a keypress, for this any key will work. Pawn selection is also performed using the cursor keys and ENTER. Joystick is also possible for the C128 version, but not yet implemented for the Oric Atmos version. Mouse not supported.

The game uses the LUDO rules from the Dutch 'Mens Erger je Niet' variant as played by my family 30 years ago, so probably there are some 'house rules' interpretations that are not the same as the present official game manual, like what is allowed after a six is thrown depending on how many pawns are already on the board. Example: after throwing a six, moving the newly placed pawn with the next dice throw is obligatory, also if this would attack another pawn of the same player. Exception is if all pawns are on the board, moving the new pawn is in that case optional. As the game only allows valid moves, this should indicate itself.

Please let me know if the game interpretations are inconsistent, incorrect or not working.

Enjoy!

Machine specific instructions:

Commodore 128:

  • Copy D64 file to the desired media, start with RUN"LUDO.
  • Known issue: on VICE, if the joystick is enabled, but cursor down and SPACE trigger fire. Disable joystick in loading screen by pressing J to be able to play by keyboard.

Oric Atmos:

  • Select DSK (or HFE on Cumana Reborn) as disk in emulator or real hardware. Game autostarts.

TI-99/4a:

  • Copy contents of ZIP file to the location needed for your local DSK1 emulation (of your emulator or real hardware via e.g. TIPI)
  • Ensure Editor/Assembler is enabled as cartridge. Start E/A with menu option 2, then menuoption 5 for Run program file. Then type DSK1.LUDO and press enter.
  • For TIPI: select 1 on start menu to go to BASIC prompt and type CALL TIPI("TIPI..LUDO")

Screenshots:

Commodore 128:

Oric Atmos:

Texas Instruments TI-99/4a:

Credits:

Commodore 128 version:

Code and resources from others used:

Music credits:

Tested using real hardware (C128D and C128DCR) plus VICE.

Oric Atmos version:

Code and resources from others used:

  • oricOpenLibrary for IJK joystick driver code and Sedoric routines _ ___ ___ _ ||___ ___ | | .'|'| | -|_ -| || |__,|,|||| raxiss (c) 2021 GNU General Public License v3.0 See https://github.com/iss000/oricOpenLibrary/blob/main/LICENSE
  • OSDK for MYMPlayer music player and building tools (C) Dbug and OSDK authors https://osdk.org/
  • 8Bit Unity for adaptation of OSDK MYM player https://github.com/8bit-Dude/8bit-Unity
    • Copyright (c) 2018 Anthony Beaucamp.
    • This software is provided 'as-is', without any express or implied warranty.
    • In no event will the authors be held liable for any damages arising from
    • the use of this software.
    • Permission is granted to anyone to use this software for any purpose,
    • including commercial applications, and to alter it and redistribute it
    • freely, subject to the following restrictions:
      1. The origin of this software must not be misrepresented * you must not
    • claim that you wrote the original software. If you use this software in a
    • product, an acknowledgment in the product documentation would be
    • appreciated but is not required.
      1. Altered source versions must be plainly marked as such, and must not
    • be misrepresented as being the original software.
      1. This notice may not be removed or altered from any distribution.
      1. The names of this software and/or it's copyright holders may not be
    • used to endorse or promote products derived from this software without
    • specific prior written permission.
  • Original windowing system code on Commodore 128 by unknown author.
  • Music credits: R-Type level 1 by Wally Beben/Alain Derpin Defender of the Crown by David Whittaker/Aldn Wizzball by Peter Johnson/Aldn
  • Documentation used: OSDK.org, forum.defence-force.org, defence-force.org.
  • ORIC software development tooling: CC65 from CC65 contributors, see https://cc65.github.io/ OSDK from DBug/OSDK Authors CD2 from Twilighte Oric Explorer by Scott Davies ORIC Character Generater by Pe@ceR HxCFloppyEmulator Software by Jean-Francois del Nero.
  • Tested using Oricuton emulator and an Oric Atmos with a Cumana Reborn.

TI-99/4a version:

Code and resources from others used:

Music credits:

Tooling to transfer original Commodore software code:

  • VICE by VICE authors
  • DirMaster by The Wiz/Elwix
  • CharPad Free by Subchrist software
  • UltimateII+ cartridge by Gideon Zweijtzer

The code can be used freely as long as you retain a notice describing original source and author.

THE PROGRAMS ARE DISTRIBUTED IN THE HOPE THAT THEY WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. USE THEM AT YOUR OWN RISK!

Thanks for reading and enjoy playing!

Xander Mol