Search results

  1. fukurou

    👨‍💻 dev TKInter cs

    ********* *imports* ********* from tkinter import * from tkinter import scrolledtext from tkinter import messagebox from tkinter.ttk import Progressbar from tkinter import filedialog from tkinter import Menu ****** *stem* ****** import tkinter window = tkinter.Tk() # rest of the code goes here...
  2. fukurou

    java to swift 141223

    class DiBored: DiSkillV2 { var responder = AXTimeContextResponder() private var trigger = "i am bored" func setTrigger(_ trigger: String) -> DiBored { self.trigger = trigger return self } override init() { responder.morning.addResponse(s1...
  3. fukurou

    java to swift 141223

    class DiBored(DiSkillV2): def __init__(self): super().__init__() self.responder = AXTimeContextResponder() self.trigger = "i am bored" # morning replies self.responder.morning.addResponse("you should work out")...
  4. fukurou

    java to swift 141223

    class DiBored(DiSkillV2): def __init__(self): self.responder = AXTimeContextResponder() self.trigger = "i am bored" self.responder.morning.addResponse("you should work out") self.responder.morning.addResponse("play with your toys")...
  5. fukurou

    java to swift 141223

    public class DiHabit extends DiSkillV2 { /*setter params*/ // habit params private UniqueItemSizeLimitedPriorityQueue habitsPositive = new UniqueItemSizeLimitedPriorityQueue(); private AXCmdBreaker habitP = new AXCmdBreaker("i should"); private String temp = ""; // bad...
  6. fukurou

    java to swift 141223

    class DiPunisher(DiSkillV2): def __init__(self): super().__init__() self.punishments: DrawRnd = DrawRnd() self._trigger: str = "i was a bad boy" self._reset: TrgTime = TrgTime() self.punishments.addElement("20 minutes of corner time")...
  7. fukurou

    pickled red cabbage

  8. fukurou

    java to swift 141223

    class GamificationN: DiSkillV2 { private var axGamification: AXGamification private var cost = 3 private var skill: DiSkillV2 init(skill: DiSkillV2, rewardBank: GamificationP) { self.skill = skill axGamification = rewardBank.getAxGamification() }...
  9. fukurou

    java to swift 141223

    public class GamificationN extends DiSkillV2 { private AXGamification axGamification; private int cost = 3; private DiSkillV2 skill; public GamificationN(DiSkillV2 skill, GamificationP rewardBank) { this.skill = skill; axGamification =...
  10. fukurou

    java to swift 141223

    class GamificationP: DiSkillV2 { private var gain = 1 private var skill: DiSkillV2 private var axGamification = AXGamification() init(skill: DiSkillV2) { self.skill = skill } func setGain(gain: Int) { if gain > 0 { self.gain = gain...
  11. fukurou

    [MEDIA]

  12. fukurou

    java to swift 141223

    class DiEngager: DiSkillV2 { private var burpsPerHour = 2 private var trgMinute = TrgMinute(minute: 0) private var skillToEngage = "unknown" private var draw = DrawRndDigits() private var burpMinutes:Array<Int> = [Int]() private var pl = PlayGround()...
  13. fukurou

    java to swift 141223

    class DrawRndDigits { // draw a random integer, than takes said element out private var strings:Array<Int> = [Int]() private var stringsSource:Array<Int> = [Int]() init(_ values:Int...) { for temp in values { strings.append(temp)...
  14. fukurou

    java to swift 141223

  15. fukurou

    java to swift 141223

    class DIBlabber: DiSkillV2 { private var isActive: Bool = true // skill toggler var skillToggler: AXContextCmd = AXContextCmd() // chat mode select var modeSwitch: AXContextCmd = AXContextCmd() var mode: Cycler = Cycler(limit: 1) // engage chatbot var engage...
  16. fukurou

    java to swift 141223

    how we doin on tokens?
  17. fukurou

    java to swift 141223

    class DiTreater: DiSkillV2 { private var handshake = AXHandshake() var replies = Responder("stop arguing", "just do it", "behave", "be a big boy and do it", "bad boy no more fussing", "i know best") var contextCmd = TrgArgue() func setTime(time_stamp: String) -> DiTreater {...
  18. fukurou

    java to swift 141223

    class DiCron:DiSkillV2{ private var sound:String = "snore" private var cron:Cron = Cron(startTime: "12:05", minutes: 40, limit: 2) // setters func setSound(sound:String) -> DiCron { self.sound = sound return self } func setCron(cron:Cron) -> DiCron {...
  19. fukurou

    java to swift 141223

    class DiMagic8Ball: DiSkillV2 { public var magic8Ball = Magic8Ball() // skill toggle params: public var skillToggler = AXContextCmd() private var isActive = true override init() { skillToggler.contextCommands.input(in1: "toggle eliza")...
  20. fukurou

    java to swift 141223

    class DiTime:DiSkillV2{ private let pl:PlayGround = PlayGround() // hello world skill for testing purposes override func input(ear: String, skin: String, eye: String) { switch (ear) { case "what is the time": setSimpleAlg(sayThis...
Top