40 lines
620 B
Julia
40 lines
620 B
Julia
#=
|
|
DR:
|
|
- Julia version: 1.7.2
|
|
- Author: shenjack
|
|
- Date: 2022-02-19
|
|
=#
|
|
|
|
|
|
using PyCall
|
|
|
|
include("Difficult_Rocket/main.jl")
|
|
|
|
HiMessage = """
|
|
Difficult Rocket is writen by shenjackyuanjie
|
|
mail: 3695888@qq.com or shyj3695888@163.com
|
|
QQ: 3695888""" :: String
|
|
|
|
|
|
function py__init__()
|
|
println(HiMessage)
|
|
py"""
|
|
import sys
|
|
sys.path.append(".")
|
|
sys.path.append("libs/")
|
|
"""
|
|
game = pyimport("Difficult_Rocket.main")
|
|
Game = game.Game()
|
|
Game.start()
|
|
end
|
|
|
|
|
|
|
|
print("是否运行py版 y/n")
|
|
yesOrNo = readline(stdin)
|
|
if yesOrNo == "y"
|
|
@timev py__init__()
|
|
else
|
|
@timev main.GLFW__init__()
|
|
end
|