Coder Social home page Coder Social logo

windig's Introduction

Digger (for Windows)

Classic game by Windmill Software (1983) remastered by Andrew Jenner, ported to Windows by Tim Draper and improved by Petr Abdulin and others, updated to build with VS2017 and run on Windows.

Notes on implementation (by Petr Abdulin)

  1. Symbol is a 24x24 (HxW) pixel square (in 640x400 mode pixels). For 320x200 mode it is actually a 12x12 square. It uses rather complicated storage for it's mask. The byte array is 12x6 size, but each of 6 bytes in horizontal row actually holds two 4-bit mask data, thus resulting in 12x12 symbol. This significally complicates drawing process.

  2. Since back buffer is always 640x400 resolution, all coordinates passed to graphics functions are for this resolution.

  3. Coodinates go from top left to bottom right. Passed to functions coordinates also specify top left corner from which object will be drawn.

Acronyms

DRF - Digger recording file

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.