Hello:
So recently, after deciding to reread the Bgt manual to familiarize myself with its basic concepts again, I have decided to start on a program. However, I'm running into a small but extremely annoying error. I keep getting an unexpected token error on the 25th line of this program, which is after I declair Void play_game();
#include "menue.bgt";
#include "speak.bgt"
#include "rotation.bgt"
void main()
{
show_game_window("Game_alpha");
speak("Hello");
string text="Welcome To this game. Please choose an option from the below menu";
string[] items={"Play game","Explore the grid","exit"};
r=new_menu(text, items, 0);
if(r==1) {
play_game();
}
else if(r==2) {
explore_grid();
}
else if(r==3) {
exit();
}
}
void play_game();
{
{
int answer = question("Question", "would you like to read the game info and rules??");
if(answer==0)
{
alert("Let's try that again.");
}
if(answer==1)
{
alert("Loading...");
}
if(answer==2)
{
alert("All right then. Continuing to game...");
}}
Would someone mind telling me what I'm messing up here, please?
That Guy. Serving those people since that time. To contact, use that info.