This website requires JavaScript.
93f68e3969
bug: enemie movement sometimes deref nullptr when calling get_pos() fixed level gen
Peisong Xiao
2024-07-15 00:23:12 -04:00
6768d73d16
full implementation! bug: level generation will generate nullptrs
Peisong Xiao
2024-07-15 00:09:14 -04:00
c3b974c83c
removed .orig files (astyle backups)
Peisong Xiao
2024-07-14 21:38:45 -04:00
af8bc4112c
finished the bulk of game
Peisong Xiao
2024-07-14 21:32:41 -04:00
b3475b7530
merged DT/add-troll-char
Peisong Xiao
2024-07-14 10:52:47 -04:00
dc56b73809
merged AL-races
Peisong Xiao
2024-07-14 09:26:17 -04:00
a521c860df
added troll class, cleaned up shade, vampire, and goblin classes
Derek Tan
2024-07-14 02:03:20 -04:00
b183fcec7f
moved uml.md to docs/archive/
Derek Tan
2024-07-14 01:27:57 -04:00
82762e8701
moved old uml.md to archive folder
Derek Tan
2024-07-14 01:16:51 -04:00
f0aa564e08
HALTED: major overhaul for character
Peisong Xiao
2024-07-13 22:05:17 -04:00
ca3481028e
astylerc automated formatting
Derek Tan
2024-07-13 19:24:54 -04:00
39d3447593
work in progress
Peisong Xiao
2024-07-13 18:22:15 -04:00
8da12f5360
New attack function for single character in characters.h, need implementation (example in shade.h)
Peisong Xiao
2024-07-13 17:13:10 -04:00
df9e2d31df
merged with potion ideas
Peisong Xiao
2024-07-13 16:28:19 -04:00
0a74ebc81b
merged with paul, work in progress
Peisong Xiao
2024-07-13 16:18:45 -04:00
cd388b1531
merged paul
Peisong Xiao
2024-07-13 16:14:31 -04:00
5f3565fa86
work in progress, can be branched/merged
Peisong Xiao
2024-07-13 16:13:20 -04:00
8fad4d262f
work in progress
Peisong Xiao
2024-07-13 16:12:09 -04:00
db354d232a
Merge branch 'paul' into AL/races-potions
a25liang
2024-07-13 16:04:17 -04:00
ccf6dd0582
corrected colors
Peisong Xiao
2024-07-13 15:43:21 -04:00
3ae82841f4
removed room.* (unused)
Peisong Xiao
2024-07-13 14:22:06 -04:00
9fdbf141d3
TODO: modify other races constructors did some reworking
Peisong Xiao
2024-07-13 14:02:30 -04:00
f2d2f6f72d
changes to characters and potions, work in progress
Peisong Xiao
2024-07-13 00:59:52 -04:00
afc2b9fa12
finished random map generation
Peisong Xiao
2024-07-12 22:43:06 -04:00
606429a6ed
finished random room generation
Peisong Xiao
2024-07-12 20:11:56 -04:00
1e0d141b8a
finished potion ideas doc
Derek Tan
2024-07-12 17:48:44 -04:00
f5daea0b18
unfinished work on random map gen
Peisong Xiao
2024-07-12 17:10:16 -04:00
50f058e7ea
format
a25liang
2024-07-12 16:41:42 -04:00
e7865b0c57
- 0
a25liang
2024-07-12 16:41:25 -04:00
8b663bcd4f
updated gitignore to hide astylerc
Derek Tan
2024-07-12 16:35:52 -04:00
2480fed080
automated formatting
Derek Tan
2024-07-12 16:32:38 -04:00
de22f4c1aa
-impl all potions, and race: drow
a25liang
2024-07-12 14:42:20 -04:00
83b05b0f89
Unfinished: rand map gen
Peisong Xiao
2024-07-12 12:07:38 -04:00
922b88a4a2
removed some unnecessary comments
Peisong Xiao
2024-07-12 10:00:48 -04:00
c9e96b5e6e
changed unique_ptr access to using raw pointers to denote non-ownership added new flag -e for extra stuff (potions/races) IMPORTANT: main.cc is undergoing rework
Peisong Xiao
2024-07-12 09:58:30 -04:00
b3300b8e7c
WORK IN PROGRESS TODO: implement random level generation moved exclude from list to position.h distinguished level and map
Peisong Xiao
2024-07-12 00:16:08 -04:00
c68330b3e3
changed all non-owned unique_ptr access to reference to the object itself
Peisong Xiao
2024-07-11 22:15:15 -04:00
6d3e8229df
changed all unique_ptr that doesn't have ownership to a const reference
Peisong Xiao
2024-07-11 21:57:13 -04:00
60f775b640
removed layer and objects design fixed bug in restore_health
Peisong Xiao
2024-07-11 21:50:10 -04:00
0312986dce
added potion and restore_health
Peisong Xiao
2024-07-11 21:32:23 -04:00
ae5cd1e0c6
added fractions and RNG::trial
Peisong Xiao
2024-07-11 17:28:04 -04:00
6e822ba60a
Merge branch 'paul' of peisongxiao.com:~/cs246/a5 into paul
Peisong Xiao
2024-07-11 17:02:13 -04:00
7752933594
added astyle to tools
Peisong Xiao
2024-07-11 13:17:24 -04:00
3d55df5f79
added astyle to tools
Peisong Xiao
2024-07-11 13:16:48 -04:00
c5f8bd7845
moved shade into a seperate file
Peisong Xiao
2024-07-11 13:06:05 -04:00
3be70e1212
merged AL-races
Peisong Xiao
2024-07-11 12:32:12 -04:00
2c4d0070da
ready to merge some races
Peisong Xiao
2024-07-11 12:29:44 -04:00
6f0573dff8
started working on map and potions
Peisong Xiao
2024-07-09 23:27:49 -04:00
9c582805a4
- arg: seed
a25liang
2024-07-09 22:05:20 -04:00
68065c0ff2
- handle seed in args
a25liang
2024-07-09 21:56:05 -04:00
6f998d8523
changed naming scheme
Peisong Xiao
2024-07-07 20:10:31 -04:00
d85f375fbe
fixed ncurses output attributes
Peisong Xiao
2024-07-07 20:08:13 -04:00
3d7484351f
added new line to file/console_output::render
Peisong Xiao
2024-07-06 22:00:34 -04:00
84bc342eff
fixed issue with persistent formatting
Peisong Xiao
2024-07-06 21:40:05 -04:00
c8b8597e39
fixed issue with color in console_output::get_code
Peisong Xiao
2024-07-06 21:31:40 -04:00
4300ae614c
try fix for console_output::get_code
Peisong Xiao
2024-07-06 21:04:03 -04:00
1fbd22c101
fixed: issue with file/console output
Peisong Xiao
2024-07-06 20:39:04 -04:00
a4c5220019
added clear screen to console_output::render
Peisong Xiao
2024-07-06 20:00:22 -04:00
f252ffc59b
made copies of Makefile so that you can also use it in both bin and src
Peisong Xiao
2024-07-06 02:03:52 -04:00
255a49111d
minor adjustments to Makefile
Peisong Xiao
2024-07-06 01:59:20 -04:00
eb773405a6
added: cmdline args handling
Peisong Xiao
2024-07-06 01:39:39 -04:00
116d068765
adapted Makefile to ncurses
Peisong Xiao
2024-07-05 22:15:54 -04:00
4769e3618b
fixed issue with input.h
Peisong Xiao
2024-07-05 22:13:29 -04:00
36c53f22d7
added display and its subclasses
Peisong Xiao
2024-07-05 21:57:27 -04:00
9495f11c16
fixed issue panic in console/file input
Peisong Xiao
2024-07-05 21:28:45 -04:00
d6503579c4
fixed issue for file/console input u and a
Peisong Xiao
2024-07-05 21:18:50 -04:00
713743b698
fixed issue with a and u commands
Peisong Xiao
2024-07-05 20:55:48 -04:00
b792b0a8e7
fixed: all ready for input-testing
Peisong Xiao
2024-07-05 19:31:09 -04:00
13519b619d
fixed issue with get_direction
a25liang
2024-07-05 18:28:34 -04:00
c264fda5df
added line to ignore astyle backups
Peisong Xiao
2024-07-05 12:15:20 -04:00
7919c7dbfe
did astyle on the source files
Peisong Xiao
2024-07-05 12:14:34 -04:00
74de68cf0d
added: list of arguments edit: future framework of main
Peisong Xiao
2024-07-05 12:11:09 -04:00
0201425cf1
added: implementation of cursor
Peisong Xiao
2024-07-05 11:40:46 -04:00
5515326248
Merge branch 'master' into paul-encapsulating-main-and-curses
Peisong Xiao
2024-07-05 10:25:11 -04:00
6a160cf8e0
moved: tools to base directory moved: Makefile to base directory
Peisong Xiao
2024-07-05 10:16:44 -04:00
7aed073fa6
moving repo
Peisong Xiao
2024-07-05 00:46:02 -04:00
325a1d1350
edit: reworked how constants are defined
Peisong Xiao
2024-07-04 23:22:41 -04:00
e55be26b27
moved get_direction from *_input.cc to input.h
Peisong Xiao
2024-07-04 23:15:47 -04:00
f5b5f180a0
added: input and its subclasses
Peisong Xiao
2024-07-04 22:47:25 -04:00
c67dbcc62a
moving repo
Peisong Xiao
2024-07-04 19:58:19 -04:00
6cbeb42144
added a few more pieces to the framework, overhauled main.cc
Peisong Xiao
2024-07-03 11:08:55 -04:00
9086f0773a
- impl goblin character class
a25liang
2024-07-02 21:58:56 -04:00
bd372f7a47
moved GAIN_UP for vampire to global scope (avoid memory dups)
a25liang
2024-07-02 21:05:52 -04:00
97ff14cd26
Merge branch 'master' into paul-encapsulating-main-and-curses
Peisong Xiao
2024-07-02 20:50:36 -04:00
234f06191a
- Moved calc_dmg to characters.h - put vampire into new source files
a25liang
2024-07-02 20:39:48 -04:00
00af3d59bf
started a new framework
Peisong Xiao
2024-07-02 16:48:53 -04:00
eea910ae33
updated uml and plan files
Derek Tan
2024-07-02 13:25:36 -04:00
153cb40b48
Merge branch 'master' of peisongxiao.com:~/cs246/a5
Derek Tan
2024-07-02 13:25:16 -04:00
d3d6c18dee
Merge branch 'master' of peisongxiao.com:~/cs246/a5 This is just necessary
Peisong Xiao
2024-07-02 12:45:31 -04:00
2c0b30cd33
moved move and move_or_attack implementation into characters.cc
Peisong Xiao
2024-07-02 12:43:39 -04:00
2c8cbc6e47
add uml.md and plan.md
Derek Tan
2024-07-02 12:27:08 -04:00
cd529c2040
turn off all compiler optimizations in Makefile
Derek Tan
2024-07-02 12:20:44 -04:00
b4e7f39dae
change controls to wasd
Derek Tan
2024-07-01 23:54:43 -04:00
b8b3af362a
Added some TODO for minor (important) fixes
a25liang
2024-06-30 11:56:27 -04:00
0523113f62
added a clear screen to main TEMPROARILY
Peisong Xiao
2024-06-30 11:02:57 -04:00
087207dace
added a short coding style guide
Peisong Xiao
2024-06-30 10:53:20 -04:00
53a9015aea
fixed Makefile conflict - only added flag to enable ncurses and changed exec name
Peisong Xiao
2024-06-30 10:19:03 -04:00
12b74f12d4
first working demo
Peisong Xiao
2024-06-30 03:24:19 -04:00
6dcf0f41e8
oops, included .o files
Peisong Xiao
2024-06-30 02:57:36 -04:00
e513e78d1d
float point exception, waiting for debugging
Peisong Xiao
2024-06-30 02:51:24 -04:00