Add game lobby, registration, and game type pages

This commit is contained in:
bobbert committed 2026-03-17 21:00:52 +00:00
1 parent 71a52da85b
commit 81847a9188
4 files changed
+79

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import React, { useState } from 'react';
import { View, TextInput, Button } from 'react-native';
const JoinPrivateGamePage = () => {
const [joinCode, setJoinCode] = useState('');
const handleJoinGame = () => {
// Logic to check join code and redirect to game lobby
};
return (
<View>
<TextInput placeholder="Enter Join Code" value={joinCode} onChangeText={setJoinCode} />
<Button title="Join Game" onPress={handleJoinGame} />
</View>
);
};
export default JoinPrivateGamePage;