Reversi / Othello

This is a discussion on Reversi / Othello within the C Programming forums, part of the General Programming Boards category; Hey people! I am kind of new to C programming language. I take classes on my university, and I have ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    3

    Reversi / Othello

    Hey people!

    I am kind of new to C programming language. I take classes on my university, and I have to write a very simple version of a reversi/othello-like game, until this friday. I'm having some trouble to write the code, so I was wondering if any of you could provide me with a source code (written in C) of a reversi/othello game. I really don't need a smart computer player, or any kind of strategies, I just need the basic stuff

    If anyone could help me, please contact me on my e-mail (dericosp@bol.com.br) or on ICQ (10310351)

    THANKS A LOT!

    []'s

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    I have an Othello game written in LISP. Will that do?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    LISP? humm... what's that?
    I really don't know..

  4. #4
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    LISP? I once had to make Othello (or was it tic-tac-toe?) in Prolog (or was it Miranda?). But that was a long time ago...

    Sorry dericosp but I'm not going to make Othello for you. Write your own program and post your code if you have any problems.

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by dericosp
    LISP? humm... what's that?
    I really don't know..
    LISP is basically linked lists, recursion and parantheses. An ugly language IMHO .

    Sample:
    Code:
    (defun MyFirstProgram()
      (format t "Hello world!"))
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    so I guess LISP is no good for me ....

    but thanks for helping.


    And Monster, the fact is that I have a really short time to do it (until Friday), and C Programming is one of the subjects in my university, so it matters on my grades...... and I'm pretty confused how to write the reversi code...... that's why I asked you to help me...

    besides, I'm pretty sure that a simple reversi-like game wouldn't take more than 5 minutes from you people, that already knows all the basics and also the advanced parts of the language C..

  7. #7
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Othello took about a month for me, but that included the AI also.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Othello procedure
    By Morrow in forum Game Programming
    Replies: 7
    Last Post: 10-05-2004, 05:29 AM
  2. othello AI
    By laasunde in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 11-02-2003, 01:37 PM
  3. OThello 0.9 - finally working..
    By Nutshell in forum Game Programming
    Replies: 19
    Last Post: 04-18-2003, 11:40 AM
  4. Othello game loop
    By Nutshell in forum Game Programming
    Replies: 3
    Last Post: 01-20-2003, 12:12 AM
  5. Othello question
    By toaster in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-17-2002, 08:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21