awacke1 commited on
Commit
08af0fb
·
1 Parent(s): 3144d26

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +37 -0
app.py ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import streamlit as st
3
+
4
+ st.title("Games Developed in Python")
5
+
6
+ st.write("Python is a versatile language that has been used for game development in various genres, from simple 2D games to complex 3D simulations. Here are some examples of games that have been developed in Python:")
7
+
8
+ # Civilization IV
9
+ st.header("Civilization IV")
10
+ st.write("- Python is used as a scripting language for AI and gameplay mechanics.")
11
+ st.write("- Python scripts are used to create and control units, events, and game rules.")
12
+ st.write("- Python is used to manipulate game data, such as maps and player profiles.")
13
+
14
+ # Pygame
15
+ st.header("Pygame")
16
+ st.write("- Pygame provides a set of libraries and tools for game development in Python.")
17
+ st.write("- Pygame is used to create graphics, handle input from players, and play sounds and music.")
18
+ st.write("- Pygame also provides support for creating game physics, collision detection, and other game mechanics.")
19
+
20
+ # EVE Online
21
+ st.header("EVE Online")
22
+ st.write("- Stackless Python is used for server-side scripting in EVE Online.")
23
+ st.write("- Python is used for various gameplay mechanics, such as player interaction and artificial intelligence.")
24
+ st.write("- Python is used to control the economy, missions, and player communications in the game.")
25
+
26
+ # World of Tanks
27
+ st.header("World of Tanks")
28
+ st.write("- Python is used for various gameplay mechanics, such as shooting, movement, and damage calculation.")
29
+ st.write("- Python is used to create the user interface for the game, including menus and HUD elements.")
30
+ st.write("- Python is used to handle player input and control game state.")
31
+
32
+ # Battle for Wesnoth
33
+ st.header("Battle for Wesnoth")
34
+ st.write("- Python is used as the primary scripting language for game development in Battle for Wesnoth.")
35
+ st.write("- Python scripts are used to create units, scenarios, and campaigns.")
36
+ st.write("- Python is used to control gameplay mechanics, such as unit movement and combat, and to manage game data, such as maps and player profiles.")
37
+