feat: implement game logic
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import logging
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from star_resonance_tracer.proto.enum_chit_chat_channel_type_pb2 import ChitChatChannelType
|
||||
|
||||
from inventory_wars.game import Game
|
||||
from inventory_wars.models import Base
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
engine = create_engine("sqlite:///app.db")
|
||||
Base.metadata.create_all(engine)
|
||||
|
||||
game = Game(Session(engine), item_id=1040202, listening_channels=[ChitChatChannelType.ChannelTeam])
|
||||
game.start()
|
||||
Reference in New Issue
Block a user