Difficult-Rocket/DR-py.jl

40 lines
623 B
Julia
Raw Normal View History

2022-03-01 23:04:00 +08:00
#=
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 GLFW__init__()
# end