Giter VIP home page Giter VIP logo

skat's People

Contributors

j4yk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

skat's Issues

Adapt to new Lispbuilder-SDL version

Don't have to gain access to the foreign event structure by changing the code by hand anymore.

Use sdl-event instead of parameter to with-events.

include patched cl-xmpp.lisp

Some cl-xmpp files have been patched to avoid multithreading necessity. In particular, the function cl-xmpp:stanza-waiting-p has been added and implemented according to what it's name suggests... this patch is not included in this repository so far which makes it difficult to grab and run.

Think of some resolution.

Login-Abfrage beim XMPP-Host nach Fehler

Die Frage danach, ob ein neuer Login versucht werden soll, erscheint erst, nachdem die Antwort gelesen wurde. Außerdem müsste man dann "J(neuer Benutzername)" eintippen, da nur ein read-char vorgenommen wird, um die Antwort zu lesen.

when to capture SDL_Event for agar

The init-handler is executed every frame and it's called within the scope of with-init's let. Therefore if the SDL_Event (foreign object) variable would be exposed, one could check it out in the idle-handler.

Skat nur beim ersten Mal korrekt auswählbar

Danach kann man keine Karten anklicken und es wird nur eine Karte der zuvor hinzugefügten gedrückt. Außerdem kann man auch ohne Auswahl Karten schicken.

Vermutung: selected-cards wird nicht resettet

card selection broken

das Auffächern der Karten in z-Richtung ist wahrscheinlich Schuld, in der linken Handhälfte wird die Karte links daneben ausgewählt, da sie einen höheren max-z-Wert hat. Die linke Kante der Karte guckt ja auch weiter vor...

Timeouts können sich aufhängen, insb. :trick-to, :trick-push und :middle-stack-push

das hier geht:

GL-UI> (tstat)
(:TRICK-TO NIL :TRICK-PUSH NIL :CHOOSE-CARD NIL :MIDDLE-STACK-PUSH NIL)
GL-UI> (progn
     (schedule-timeout (fmod cards) :trick-to 1000 (fmod cards) :self)
     (schedule-timeout (fmod cards) :middle-stack-push 500 (fmod cards) #!d7 :left))

das nicht:

(progn
     (schedule-timeout (fmod cards) :middle-stack-push 500 (fmod cards) #!d7 :left)
     (schedule-timeout (fmod cards) :trick-to 1000 (fmod cards) :self))
0: (DO-TRICK-TO #<CARDS {DD56AD9}> :SELF)
0: DO-TRICK-TO returned
0: (DO-TRICK-TO #<CARDS {DD56AD9}> :SELF)
0: DO-TRICK-TO returned
0: (DO-TRICK-TO #<CARDS {DD56AD9}> :SELF)
0: DO-TRICK-TO returned
0: (DO-TRICK-TO #<CARDS {DD56AD9}> :SELF)
0: DO-TRICK-TO returned
...
GL-UI> (tstat)
(:TRICK-TO T :TRICK-PUSH NIL :CHOOSE-CARD NIL :MIDDLE-STACK-PUSH T)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.