Giter Site home page Giter Site logo

tetris's Introduction

Tetris

A version of the classic game Tetris, for the Sam Coupé

Also named Cooking Circle Tetris or CC-Tetris to disambiguate from the de facto standard by David Gommeren. It's written in Z80 assembler for a standard, unimproved 256K Sam Coupé computer. This code was written pretty quickly and shouldn't be used as examples of good coding style. I'm not kidding.

CREDITS

In addition to my code, the source includes:

  • Protracker player routines and Sam Coupe Diskimage manager by Andrew Collier
  • Keyboard reading and redefine routines adapted from an original by Steve Taylor
  • Various maths routines written/collated by Milos Bazelides
  • St Basil Cathedral graphic converted from the Tengen NES original cartridge art
  • Music and tetronimo graphics converted by hand from the Tetris DX and Gameboy Tetris versions
  • SAMDOS2 binary, needed for loading of object file from the compiled diskimage.

COMPILING AND PLAYING

This version is compiled with PYZ80, a freely-available Z80 cross-assembler found at http://www.intensity.org.uk/samcoupe/pyz80.html. After installing PYZ80 you can compile the diskimage by running make_home.bat. You'll need to amend the filepaths in this file for your system.

It can be run in SimCoupe or ASCD, both up-to-date popular emulators for the original machine, from https://wwww.simcoupe.org/ and http://www.keprt.cz/sam/

This can be used on a real Sam by converting the diskimage to a floppy disk with SAMDisk by Simon Owen, available from http://simonowen.com/samdisk/

GETTING STARTED

The game is split into several modules. Reading the source is best started in the auto.asm module, which includes overall game structure and includes other modules. .raw files are Mode 4 data files that have been created in a Sam emulator and exported to the PC environment. Other graphics have been exported into .asm files as longform data strings (DB statements).

tetris's People

Contributors

balorprice avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.