Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/p/y/python-tactics-HEAD/scene.py   python-tactics(Download)
from map import Map
 
from knight import Knight, Mage
from new_sprite import Direction
 
        def load_knight(hue):
            knight_x, knight_y = self.map.get_coordinates(9 * hue, 9 * hue)
            direction = hue and Direction.WEST or Direction.SOUTH
            knight = Knight(knight_x, knight_y, direction)
            knight.zindex=10

src/k/i/KingSnake-2.0.0/king_snake/figures/__init__.py   KingSnake(Download)
from bishop import Bishop
from king import King
from knight import Knight
from pawn import Pawn
from queen import Queen