修bug。

This commit is contained in:
unlockable
2022-12-12 23:14:53 +08:00
parent 57aac57969
commit f195c5e758

View File

@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <windows.h>
#include <conio.h>
#include <time.h>
#pragma warning(disable:4996)
#define PAPER 0
#define SICSSORS 1
@@ -32,7 +33,7 @@ HANDLE handle;
int main() {
char playerCount = 0;
bool (*playGameFunc)() = &singlePlayerMode;
void (*playGameFunc)() = &singlePlayerMode;
int playerScore[2] = { 0 };
handle = GetStdHandle(STD_OUTPUT_HANDLE);