Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added TicTacToe #59

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import MovieFinder from './src/screens/MovieFinder/MovieFinder';
import HexColorGeneratorScreen from "./src/screens/HexColorGenerator/HexColorGeneratorScreen";
import QRCodeGenerator from "./src/screens/QRGenerator/QRGenerator";
import RecipeFinder from "./src/screens/RecipeFinder/RecipeFinder";
import TicTacToe from "./src/screens/TicTacToe/TicTacToe";
import Icons from "./src/screens/TicTacToe/components/Icons";


export default function App() {
const Stack = createNativeStackNavigator();
return (
Expand Down Expand Up @@ -101,6 +105,11 @@ export default function App() {
component={RecipeFinder}
options={{headerShown: false }}
/>
<Stack.Screen
name="Tic Tac Toe"
component={TicTacToe}
options={{ headerShown: true, animation: "slide_from_right" }}
/>
</Stack.Navigator>
</NavigationContainer>
);
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@
</tr>
<tr>
<th>QR Scanner</th>
<th>QR Generator</th></tr>
<th>QR Generator</th>
<th>Tic Tac Toe</th>
</tr>
<tr>
<tr>
<td><img src="./output/qr_scanner.jpg" width=250></td>
<td><img src="./output/qr_generator.jpg" width=250></td>
<td><img src="./output/TicTacToe.jpg" width=250></td>
</tr>
</table>

Expand Down
Binary file added output/TicTacToe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@
"react-native": "0.72.10",
"react-native-fast-image": "^8.6.3",
"react-native-gesture-handler": "~2.12.0",
"react-native-paper": "^5.12.3",
"react-native-qrcode-svg": "^6.3.1",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-svg": "^15.3.0",
"react-native-toast-message": "^2.2.0",
"react-native-vector-icons": "^10.1.0",
"react-native-view-shot": "^3.8.0"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions src/screens/Home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ export default function Home() {
>
Recipe Finder
</Text>
<Text
style={styles.button}
onPress={() => {
console.log("Button to Tic-Tac-Toe List is Pressed!");
navigation.navigate("Tic Tac Toe");
}}
>
Tic Tac Toe
</Text>
</Pressable>
</View>
</View>
Expand Down
Loading
Loading