Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mirko134

User
  • Registriert

  • Letzter Besuch

Reputationsaktivität

  1. verwirrt
    Wo soll man da anfangen? 😅
    Das Problematischste wird wohl sein, dass deine Spiellogik von einem JFrame abhängig ist. D.h. deine Spiellogik kannst du nicht per Unittests testen. Sie sollte aber vollständig unabhängig sein, damit man sie halt auch testen kann.
     
  2. Positiv
    Warum kein GitHub Link? 😁
    Was mir aber aufgefallen ist, dass dein Switch-Case ewig viele Returns hat, seit Java 14 gibt es Switch-Case mit Rückgabewert.
    Als nächstes die Umsetzung deiner "Farben".
    Du benutzt schon eine JComboBox (Zeile 275), dann könntest du da auch direkt Enums als ComboBoxModel hinterlegen und sparst dir den Switch-Case gänzlich.
    Das sind so die 2 Sachen, die mir beim ersten, schnellen drüberfliegen in Notepad direkt ins Auge gesprungen sind.
  3. Like
    Gnadenlos mit strg c und strg v rein gehauen 😅
  4. Haha

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.