Othello question

This is a discussion on Othello question within the A Brief History of Cprogramming.com forums, part of the Community Boards category; is it even possible for a player to lose all their pieces in a game? I believe it is possible ...

  1. #1
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161

    Othello question

    is it even possible for a player to lose all their pieces in a game?
    I believe it is possible but can someone prove or confirm it? thanks.
    think only with code.
    write only with source.

  2. #2
    Green Member Cshot's Avatar
    Join Date
    Jun 2002
    Posts
    892
    Yes it is definitely possible. I just don't want to draw it all out for you here hehe. Anyone else care to demonstrate?

  3. #3
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    alright, maybe my program can help you, Cshot.
    I suggest you select 2 player mode since the computer AI I made is garbage.
    Attached Files Attached Files
    think only with code.
    write only with source.

  4. #4
    Green Member Cshot's Avatar
    Join Date
    Jun 2002
    Posts
    892
    Sorry, forgot about your post. It was hidden on the 2nd page hehe.

    Ummm, using your notation here's how it goes:
    e.g. 53 means, row 5 column 3

    P1 P2
    --- ----
    53 63
    35 34
    43 52
    42 33
    51 64
    75 62
    24 32
    73 74
    22 76
    77 23
    13

    There's a much shorter way of doing it but I forgot how

  5. #5
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    that's ok. thanks for your reply. I appreciate it. now to continue on with my project. I also apologize about my program if it caused you any problems, if you used it that is. if you want an update of the program, I can post it up.
    think only with code.
    write only with source.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    559
    Othello's a cool game. I've only lost once. Not that I'm that good, maybe, but others just don't get the idea, even when explained to them. You can switch sides with someone in the last 8 - 10 moves, seems like they're losing bad, and change 'em all around. This is after you told them to get to the side and corners, etc.
    Don't know if I've ever flipped 'em all to my color, but have gotten them to one or two.
    Another neat game like that is Pente.
    Truth is a malleable commodity - Dick Cheney

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 06:51 PM
  2. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 01:52 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 01:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM

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