Diogo Nuno

Portfolio
  • github
  • twitter
  • facebook
  • rss
  • Works
  • News
  • Tutorials
  • About me
  • Contact

Connect 4

prom | August 21, 2009 | 19:20
Connect 4 is my first little work, it’s made in Python with Curses bindings. Even though this is a simple game to do, there are always ways to learn a bit more. That is my objective with this simple game. Improve myself and have fun learning the Python language. I expect everyone to enjoy this simple project and learn a bit with it. Connect4

The project can be found here :)
http://github.com/prom/Python-Connect-4

Currently doesn’t run on Windows due to some curses based error (dunno what it is) but runs on linux and mac. It just needs Python Curses Module to run. To play run “python connect4.py” or just run the executable file with ./connect4.py

Changelog 0.51:

* Rewrote some code.
* Made Connect4 just one .py file.

Changelog 0.32:

* Added a dumb random CPU player for fun
* Change the color of the line that made the player win

Changelog 0.3:

* Some code rewritten to be simpler
* Added prom engine, a module to use in more projects i do that uses the Curses Module

TO-DO list:

* Change the color of the line that made the player win

* Need to rewrite some code to something simpler.
* AI Player
* Online play
* Some ideas that i have in mind. Its not going to be just a Connect4 game. :)

  • Subscribe to the comments for this post?
  • Tweet This!
  • Share this on Facebook
  • Add this to Google Bookmarks
  • Email this to a friend?
  • Post this to MySpace
Categories
Works
Tags
connect4, curses, python

Sudoku »

4 Responses to “Connect 4”

  1. Pad Pad says:
    August 21, 2009 at 20:24

    Loved it.

    It’s simple and the code is well comented.

    Can’t wait for more. :P

  2. Kylox Kylox says:
    August 21, 2009 at 21:30

    yhoooooooooooooooo

    Grande Diogo..

    Gande trabalho que andas ai a fazer… continua assim que um dia apareço na Fnac a comprar o teu remake do Donkey Kong para a wii :D

    Tens que dar mais vida aqui o site oficial lol

    Abraços

  3. prom prom says:
    August 25, 2009 at 19:14

    :)

  4. sergiopereira sergiopereira says:
    August 30, 2009 at 10:47

    ah granda diogo… mas 1 mês e ta na microsoft a inventar novos windows… abraço e boa sorte neste teu futuro já que o meu é o no torno…

Leave a Reply

Click here to cancel reply.

You must be logged in to post a comment.

Meta

  • Register
  • Log in

Links

  • ideone.com
  • Java
  • Pygame
  • Python
rss Follow me on twitter Visit Facebook Page design by jide powered by Wordpress