Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have here started a code for a bantumi game... but i cannot continue anymore... please help anyone? here are the specs for the game: a two player bantumi game, the user will enter the desired position in the board game to start. there are seven pits for each player, and a home pit for each at each end... the players will put shells/stones in their pits in a counterclockwise direction, putting a shell/stone in each of the pits, except the oppponents home pit..
here is the code:
#include<stdio.h>
#include<conio.h>
int d1=0,d2=0,p1[]={7,7,7,7,7,7,7},p2[]={7,7,7,7,7,7,7},B2=0,B1=0,i,j,n,turn=1,posi;
Do you know why they give you that homework and not us? Because its for you to do. If you have a specific question, you ought really to ask it in the relevant question; though you should be asking specific questions
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.