EECS1720M调试

ByteZenithMaster
• 阅读 647

EECS1720M – W2021
Assignments (Total Weight = 20% of final grade) … in two parts
Overall Goal: To design an interactive GUI application in Java AWT/Swing that supports
and dynamically responds to asynchronous inputs & interactions provided by a user.
The type of application you decide to make is quite open-ended, however, it should support
a minimum amount of features/functionality. The application could be to:
• create a simple game/scene from a game (e.g. create an original game, or
extend/modify a classic 2D arcade style game);
• create a compositional tool (e.g. an interface that supports the
generation/manipulation of a simple artwork – i.e. a paint tool/ editing tool or tool
that uses simple inputs to seed algorithmic art)
• create a simulator (a tool in which a state can be configured and then used to
simulate some physical scenario – e.g. an educational tool)
• create a front end for manipulating some set of data records (e.g. a database
style system, a booking/ordering system, a browser of some collection of
objects/images) - that allows for configuration and storage of a record or multiple
records, that can be formulated into some visual representation/report.
The assignment is broken up into two parts (Assignment 1 & 2). Assignment 1 can be
thought of as a progress stage toward Assignment 2, which has the complete interactive
system.
Assignment 1 [10%] à Graphical User Interface/ Concept Design
Goals: To design an integrated set of GUI layouts that will support the completed
interactive application. The GUI should allow for the state of your application to
be configured/set. It should also support basic ActionEvent handling (so that the
GUI controls can set/report aspects of the state (i.e. set/write fields to console).
Assignment 2 [10%] à Final application (mouse/key support + dynamic content)
Goals: To integrate & expand the interaction in your application to include free
mouse & key interactions (along with interactions on GUI controls), that drive the
presentation of some form of dynamic visual component. For e.g., an animated or
controllable moving element(s), or dynamically loaded/displayed set(s) of visual
elements within a canvas in your application.
Project (ideas) – these are just examples
IDEA #1
• Extend “frogger” example from earlier in the class (to make a
simple java AWT/Swing program).
§ Does not have to be a fully functioning game (just meet
deliverables in previous slide)
§ Should have UI elements (could use buttons to move frog from
bottom to top of screen)
• Could be button(s) in the interface
§ Could have static objects that if the frog collides with an obstacle,
frog loses a life and returns to start
• Losing a life could change state of frog (change graphic/colour)
• UI could keep a count of how many times reached the top
• UI could keep a count of how many lives left, or time, or position of frog
on screen, etc
§ Could also create your own simple game (with a simple end goal)
that involves moving a character about the stage.
Project (ideas) – these are just examples
IDEA #2
• Create a basic “paint” program
§ Does not have to be a fully functioning (just meet deliverables
in previous slide)
§ Should have UI elements (could use buttons to generate
shapes on the screen)
• Could use a UI element to select a colour for the shape
• Shapes could be randomly placed, when hitting button, or could be
placed with a mouse click in the stage window
• Buttons/UI control could be used to select type of shape
§ Could have a button to delete (undo) last shape created
Need more Inspiration?
Classic Arcade Games
[2D is probably better – think older Atari style games - simple]
https://www.classicgamesarcad...
Puzzle Game Ideas/Inspiration
https://www.pinterest.ca/artd...
Other game ideas:
http://inventwithpython.com/b...
ideas-for-game-clones-to-code/
Other:
https://www.dreamincode.net/f...
** survey some ideas of phone applications/games à try to make a simplified version of
some application you use (it does not have to be fully functional, can be a component of)
Project (ideas) – these are just examples
IDEA #3
• Create a program to create records and add them to a list of some
sort
§ Does not have to be a fully functioning (just meet deliverables in previous
slide)
§ Should have UI elements (forms to collect/set properties of an element
you wish to store in the list)
• E.g. creating a record of a person/thing
• Have a button to submit (add) the record to the list
• Have a control to show a list of elements currently stored
• Have a button to output a formatted set of strings to the console (showing all
the elements currently stored)
• Use date picker (the element could be a booking of some sort) – e.g. think
about booking an air ticket
• Use some graphical elements to dress things up a bit
§ Could have a button to delete (undo) last element created or to delete a
specific element
• E.g. select from a drop down menu
WX:codehelp

点赞
收藏
评论区
推荐文章
blmius blmius
4年前
MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1
文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s
美凌格栋栋酱 美凌格栋栋酱
7个月前
Oracle 分组与拼接字符串同时使用
SELECTT.,ROWNUMIDFROM(SELECTT.EMPLID,T.NAME,T.BU,T.REALDEPART,T.FORMATDATE,SUM(T.S0)S0,MAX(UPDATETIME)CREATETIME,LISTAGG(TOCHAR(
Wesley13 Wesley13
3年前
MySQL部分从库上面因为大量的临时表tmp_table造成慢查询
背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_
待兔 待兔
1年前
手写Java HashMap源码
HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22
Jacquelyn38 Jacquelyn38
4年前
2020年前端实用代码段,为你的工作保驾护航
有空的时候,自己总结了几个代码段,在开发中也经常使用,谢谢。1、使用解构获取json数据let jsonData  id: 1,status: "OK",data: 'a', 'b';let  id, status, data: number   jsonData;console.log(id, status, number )
Stella981 Stella981
3年前
SpringBoot学习:整合shiro自动登录功能(rememberMe记住我功能)
首先在shiro配置类中注入rememberMe管理器!复制代码(https://oscimg.oschina.net/oscnet/675f5689159acfa2c39c91f4df40a00ce0f.gif)/cookie对象;rememberMeCookie()方法是设置Cookie的生成模
Easter79 Easter79
3年前
SpringBoot学习:整合shiro自动登录功能(rememberMe记住我功能)
首先在shiro配置类中注入rememberMe管理器!复制代码(https://oscimg.oschina.net/oscnet/675f5689159acfa2c39c91f4df40a00ce0f.gif)/cookie对象;rememberMeCookie()方法是设置Cookie的生成模
Easter79 Easter79
3年前
SpringMvc接受特殊符号参数被转义
WEB开发时,在前端通过get/post方法传递参数的时候 如果实参附带特殊符号,后端接收到的值中特殊符号就会被转义例如该请求: http://localhost:10001/demo/index.do?name张三(1)注:中文()不会出现此种情况后台就收到的实际name值为:  张三&40;1&41;&40;其实为h
Wesley13 Wesley13
3年前
00:Java简单了解
浅谈Java之概述Java是SUN(StanfordUniversityNetwork),斯坦福大学网络公司)1995年推出的一门高级编程语言。Java是一种面向Internet的编程语言。随着Java技术在web方面的不断成熟,已经成为Web应用程序的首选开发语言。Java是简单易学,完全面向对象,安全可靠,与平台无关的编程语言。
Wesley13 Wesley13
3年前
mysql数据库的查询
1、“查”——之单表查询INSERTINTOstudent2(name,grade,gender)VALUES('songjiang',40,'男'),('wuyong',100,'男'),('qinming',90,'男'),('husanniang',88,'女'),('sunerniang',66,'女'),('wus
Python进阶者 Python进阶者
1年前
Excel中这日期老是出来00:00:00,怎么用Pandas把这个去除
大家好,我是皮皮。一、前言前几天在Python白银交流群【上海新年人】问了一个Pandas数据筛选的问题。问题如下:这日期老是出来00:00:00,怎么把这个去除。二、实现过程后来【论草莓如何成为冻干莓】给了一个思路和代码如下:pd.toexcel之前把这