Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ClickerMSU
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Дмитрий Хасанов
ClickerMSU
Merge requests
!6
HotFix: fix main to work as a module
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
HotFix: fix main to work as a module
dmitriy_space
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Дмитрий Хасанов
requested to merge
dmitriy_space
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Forgot to fix
main
, fixed. So now game can be launched as a module
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e039b8f4
1 commit,
2 years ago
1 file
+
2
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
main/__main__.py
+
2
−
2
Options
import
pygame
as
pg
from
__init__
import
Game
from
.
import
Game
if
__name__
==
"
__main__
"
:
pg
.
init
()
pg
.
mixer
.
init
()
Game
().
main_loop
()
pg
.
quit
()
\ No newline at end of file
pg
.
quit
()