This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <configuration> | |
| <descriptorRefs> | |
| <descriptorRef>jar-with-dependencies</descriptorRef> | |
| </descriptorRefs> | |
| <archive> | |
| <manifest> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>-----</groupId> | |
| <artifactId>-----</artifactId> | |
| <version>-----</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Tkinter import * | |
| from random import choice | |
| from galgen_ascii import HANGMAN | |
| class Application(Frame): | |
| def __init__(self, master): | |
| """ Initialize the frame. """ | |
| Frame.__init__(self, master) | |
| self.lives = 7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HANGMAN = [ | |
| """ | |
| ----- | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Tkinter import * | |
| class TicTacToe(): | |
| def __init__(self): | |
| self.createWidgets() | |
| self.spieler = 0 | |
| self.spielfeld=[[0,0,0], | |
| [0,0,0], | |
| [0,0,0]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| class Reversi: | |
| def __init__(self): | |
| self.spielfeld = [] | |
| self.nachbarn = [(0, -1), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0), (-1, -1)] | |
| self.aktSpieler = 1 | |
| self.gegner = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Firma: | |
| def __init__(self,name): | |
| self.name=name | |
| self.kunden=[] | |
| def sucheKunde(self,kundennr): | |
| pass | |
| class Kunde: | |
| def __init__(self,kundennr,kundenname,kundentel,kundenstrasse,kundenort,bestellungen=[]): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Reversi: | |
| def __init__(self): | |
| self.spielfeld= [[0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], | |
| [0,0,0,0,0,0,0,0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Shop: | |
| def __init__(self,shopname): | |
| self.shopname=shopname | |
| self.mitarbeiter=[] | |
| self.kunden=[] | |
| self.produkte=[] | |
| self.bestellungen=[] | |
| def neuerkunde(self,name,tel,nummer,strasse,strassennr, plz, ort,rabatt=0): | |
| self.kunden.append(Kunde(name,tel,nummer,strasse,strassennr, plz, ort,rabatt)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Tkinter import * | |
| import tkMessageBox | |
| import Tkinter | |
| class Shop: | |
| def __init__(self,shopname): | |
| self.shopname=shopname | |
| self.mitarbeiter=[] | |
| self.kunden=[] | |
| self.produkte=[] | |
| self.bestellungen=[] |
OlderNewer