Giter VIP home page Giter VIP logo

10line-2016-connect4's Introduction

10line-2016-Connect4

Connect Four game in Turbo BASIC XL for Atari 8-bit. Entry for 2016 10-line BASIC contest screenshot

My third entry in the 2016 10-line BASIC program contest is CONNECT4, a board game for two players. Once again I used the TurboBASIC XL Parser Tool to create the minimized BASIC file - the “long lines” version I submitted weighs in at 8 lines, putting in the extended line lengths category. I managed to get the the 120-character-per-line version created by the tool down to 11 lines, but frankly I feel kind of done with this one, so I’m going to call it done rather than trying to squish it down to 120-character “pure” lines.

If anything, I’d add to the program the ability to have a computer opponent, but I just don’t think I can do it in the space I have left. At one point in this little program’s development, when I had the board and the logic of identifying wins, I knew I had room to add player-missile graphics for the piece dropping, or a computer opponent, but not both. I went for the pretty graphical effect.

Line-by-line code explanation is at https://atariaction.tumblr.com/post/138643299097/connect4

Sometime later, I made a version of the game that works across a network using the FujiNet network adapter. Added that version to the repo.

10line-2016-connect4's People

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.