GithubHelp home page GithubHelp logo

encse / rubik-dos Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 21.25 MB

Retro programming. Rubik's cube for MS-DOS

Home Page: https://rubik.csokavar.hu/

HTML 0.33% C++ 54.78% C 26.25% Makefile 0.88% Batchfile 0.13% Assembly 16.29% Pascal 0.33% Rich Text Format 0.98% OpenEdge ABL 0.02%
rubiks-cube msdos borland-cpp

rubik-dos's Introduction

The Rubik's cube was one of my favorite toys as a child, and writing an animated 3D cube was my dream project at the age of 18.

This repo shows the result of that effort.

screenshot

Online demo here.

The code was written in Borland C++ (mostly C) using an old 5x86 machine.

I found the archives in 2021 and made it available in DOSBox.

Developing, building, playing around

I use a mac these days, so the scripts work on the mac only... You need to have node and npm installed. If you want to play with the source code, put dosbox.app in the root of the repository.

- npm run build:     creates a rubik.zip file in the public folder.
- npm run dosbox:    opens DOSBox with Borland C++ and Norton Commander installed.

To build rubik.exe:

- start DOSBox
- start the IDE with "BC" in C:\
- open C:\RUBIK\RUBIK.PRJ
- build with F9

You need to exit the IDE and run the .exe from the BIN directory.

Whatever is in the src directory, it doesn't reflect the author's view of professional software development. It's more like a junior's desperate effort to create something moderately complicated.

Hey, all of us had to start somewhere...

Copyright: I know that I shouldn't... but the whole devenv is checked in with the source code. How on Earth am I supposed to find the Borland C++ compiler 10 years from now afterall? And the same goes for Norton Commander... That's how things were working in 1998, let's just conserve it for the future.

rubik-dos's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.