Giter Club home page Giter Club logo

learntris's Introduction

The Learntris Challenge

This repository contains a series of automated tests that will guide you through implementing your own version of a famous falling blocks game.

The game is a fairly small project suitable for beginners who understand the basic concepts of programming, or for veteran developers looking to pick up a new language.

Along the way, it will expose you to some common software engineering tools and practices that might not be familiar to new developers.

  • version control with git
  • process automation
  • coding to an interface
  • inter-process communication
  • test-driven/behavior-driven development
  • creating a simple domain-specific language

Note: This is not a tutorial.

While the tests are "about" a video game, the real purpose of this exercise is to force you to "fend for yourself" on a project, without relying on tutorial-style guidance.

Instead, the tests present a series of problems that you will need to solve in order to implement the game.

It is entirely up to you how to write the code.

The tests themselves are written in python, but you are free to implement your game in any language you like.

Getting Started

The first step is to clone or fork this repo and run testris.py. You will need a recent version of python, preferably python3.2 or later. (Python is only for the test runner. You can use any language you want to write your implementation.)

The output of testris.py will tell you what needs to be done at every step alonge the way. Just keep running it, and do what it tells you to do.

The wiki here has a couple pages on Getting Set Up and Understanding the Test Results.

If you get stuck, please come join us in #learnprogramming on irc.freenode.net, or post a question to /r/lpmc at reddit, and we'll try to help you sort it out.

learntris's People

Contributors

tangentstorm avatar darkf avatar sabrial-safi avatar mattpul avatar zachmassia avatar raylu avatar tmzhuang avatar

Watchers

James Cloos avatar Utkarsh Singhal 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.