Thread: Havving trouble making reversi game in c

  1. #1
    Registered User
    Join Date
    Nov 2021
    Posts
    4

    Question Havving trouble making reversi game in c

    Hello, Can you please give me tips on how should I approach this.


    I haven't been taught how to sole this during classes and i'm expected to do all problems like this and i am haing trouble doing these problems
    I thought that learning the concept would help but I still lack the intuition. Please give me tips/advice something that can help me solve this.

    The problem:
    Code:
    /**
     * Switch player, i.e. switch the turn to play for the opponent
     *
     * Parameters:
     * rev - Variable to start
     */
    void reversi_player_invert (Reversi_t *rev)
    {
        SOLVE
    }

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well posting what your 'Reversi_t' type looks like would be a big help.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-09-2015, 11:07 PM
  2. Reversi Game Tree
    By anirban in forum Game Programming
    Replies: 1
    Last Post: 01-01-2012, 12:06 PM
  3. Should I use a game engine in making a RPG game?
    By m3rk in forum Game Programming
    Replies: 6
    Last Post: 01-26-2009, 04:58 AM
  4. Having trouble making a function do what I want.
    By Shamino in forum C++ Programming
    Replies: 9
    Last Post: 12-07-2007, 11:20 AM
  5. Reversi / Othello
    By dericosp in forum C Programming
    Replies: 6
    Last Post: 06-11-2002, 05:35 PM

Tags for this Thread