noshg3/game_level_example.c

24 lines
727 B
C

#include <stdio.h>
/*
Copyright (C) 2024 tihgs
License: GNU GPL-2.0-or-later
This is free software: you are free to change and redistribute it
Contact me at:
Email - tihgs@mail.i2p
*/
int main(){
char pname[400];
char uname[400];
int id;
printf("Welcome to Level 1");
//Perhaps here will be some parts of Level 1 that needs to be addressed
struct{
name: &pname
username: &uname
playerid: &id
}
// the parts in the struct will the basis for the stuff in the game especially the "playerid" for multiplayer if possible.
// the "name" on the other hand is just the display name which can be changed sometime, but cannot be reflected in the username
return 0;
}