Skip to content

Instantly share code, notes, and snippets.

View RealYusufIsmail's full-sized avatar
🏠
Working from home on my java projects

Yusuf Arfan Ismail RealYusufIsmail

🏠
Working from home on my java projects
View GitHub Profile
## Fiduciary License Agreement 2.0
## Individual Contributor Exclusive License Agreement
## (including the Traditional Patent License OPTION)
Thank you for your interest in contributing to Programming ("We" or "Us").
The purpose of this contributor agreement ("Agreement") is to clarify and document the rights granted by contributors to Us. To make this document effective, please follow the instructions given by the CLA-assistant bot in your Pull-Request.
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class GamePanel extends JPanel implements Runnable{
static final int GAME_WIDTH = 1000;
static final int GAME_HEIGHT = (int)(GAME_WIDTH * (0.5555));
static final Dimension SCREEN_SIZE = new Dimension(GAME_WIDTH,GAME_HEIGHT);