JuliaReinforcementLearning / GridWorlds.jl

Help! I'm lost in the flatland!
MIT License
47 stars 9 forks source link

Refactor Rendering #90

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago
  1. Refactor terminal rendering.
  2. Refactor Makie rendering.
    1. Some bug fixes
    2. Allow rendering rectangular dimensional worlds
    3. Adaptive tile sizes during resizing of Makie window
    4. Add keys for Pickup (p) and reset! (r) during interactive rendering
    5. Make Makie rendering appear more consistent with the terminal rendering
    6. Increase code readability
  3. Allow rectangular dimensions for EmptyGridWorld (#70 ). Mainly for testing Makie rendering for rectangular worlds.
  4. Big fix in DoorKey environment. Empty the agent's inventory inside reset! method.
codecov-io commented 3 years ago

Codecov Report

Merging #90 (6b425e3) into master (b903073) will decrease coverage by 1.02%. The diff coverage is 18.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
- Coverage   79.19%   78.16%   -1.03%     
==========================================
  Files          15       15              
  Lines         644      655      +11     
==========================================
+ Hits          510      512       +2     
- Misses        134      143       +9     
Impacted Files Coverage Δ
src/makie_rendering.jl 0.00% <0.00%> (ø)
src/terminal_rendering.jl 0.00% <0.00%> (ø)
src/envs/doorkey.jl 98.52% <100.00%> (+0.02%) :arrow_up:
src/envs/emptygridworld.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b903073...6b425e3. Read the comment docs.