- I created a GUI Jeopardy game.
- The categories are popular movie series/ TV shows
- (Harry Potter, Star Wars, Game of Thrones, Lord of the Rings, Spongebob, Disney)
- This is a two player game and works the same way as Jeopardy.
- Preferred IDE: Eclipse (But use whatever youre comfortable with)
- Open Eclipse
- From main menu, select File > Import
- Expand General folder, select Existing Projects into Workspace and click Next
- If not zip file: Click Select root directory
- If zip file: Click Select archive directory
- Browse for file location
- Click Finish
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JPanel;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Color;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
Main Menu | Rules | Player 1 name input |
---|---|---|
player 2 name input | Game Board | Question |
---|---|---|
Correct Answer Message | Score gets added at bottom | Answer input |
---|---|---|