Ground Floor:
- Entrance gate and portcullis
- Guardroom
- Storage rooms for weapons and supplies
- Prison cells
First Floor:
- Great hall for dining and gatherings
- Kitchens and food storage
- Private chambers for the lord and his family
Second Floor:
- More private chambers for the lord and his family
- Guest rooms
- Chapel or religious room
Third Floor:
- Bedrooms for knights and other castle personnel
- Storage for bedding and other household items
- Lookouts and battlements for defense
Roof:
- Battlements and parapets for defense
- Watchtowers and turrets for observation
- Catapults and other defensive weapons
Keep in mind that this is just a general guide and the specific layout of a castle may vary based on its size, architectural style, and historical context.