#!/usr/bin/env python3 import random import socket import responder from app_instance import api from routes import * import wiz_game def main(): print("main started") random.seed() wiz_game.the_game.create_deck() wiz_game.the_game.add_player("p1", 1) wiz_game.the_game.add_player("p2", 2) wiz_game.the_game.add_player("p3", 3) #wiz_game.the_game.add_player("p4", 4) wiz_game.the_game.deal_cards(12) api.run(port=19203, address="127.0.0.1") exit(0) # w.create_deck() # w.add_player("p1", 1) # w.add_player("p2", 2) # w.add_player("p3", 3) # w.add_player("p4", 4) # w.deal_cards(1) # print("round 2") # w.deal_cards(2) # print("round 3") # w.deal_cards(3) # print("round 4") # w.deal_cards(4) # print("round 12") # w.deal_cards(12) # print("round 13") # w.deal_cards(13) # print("round 14") # w.deal_cards(14) # print("round 15") # w.deal_cards(15) if __name__ == '__main__': main()